home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 #33 / q33side2.d64 / t.postal barcode < prev    next >
Encoding:
Text File  |  1992-01-01  |  11.3 KB  |  320 lines

  1.  
  2.  
  3.                       P O S T A L     B A R C O D E R
  4.  
  5.                       Program and Text by Bob Markland
  6.  
  7.  
  8.     Everyone seems to be talking about and touting Email, but the fact
  9. remains that "snail mail" is a necessary part of our everyday lives. There
  10. are things like the LOADSTAR Letter and mailings to anyone who doesn't have
  11. an Email address that are better handled by the much maligned US Postal
  12. Service.
  13.  
  14.     Despite its shortcomings the USPS is making large capital investments
  15. to automate mail sorting, including POSTNET Bar Coding. A piece of mail can
  16. now get from the originating post office to the carrier at its destination
  17. without being touched by human hands.
  18.  
  19.     This equipment first scans for a Delivery Point Bar Code (DPBC),
  20. consisting of a five digit ZIP code, +4 code, two digit Delivery Point
  21. code, and checksum character. With a DPBC the piece can be machine sorted
  22. to a point where it reaches the proper state, city and carrier, in the
  23. order it is delivered along a street.
  24.  
  25.     Failing this the sorter scans for a six character bar code consisting
  26. of the five digit ZIP code and a checksum or attempts to optically read the
  27. address and match it with a huge database, then sprays the DPBC if
  28. possible. When nothing useful is found or if the address is handwritten,
  29. the mail piece gets kicked out and human intervention and sorting is
  30. required.
  31.  
  32.  
  33.  USING POSTAL BARCODER
  34.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  35.  
  36.     This program is entirely menu driven with numerous options. You may
  37. wish to print this text and refer to it as you progress, and you will most
  38. certainly need to refer to what the USPS calls "address anomalies."
  39.  
  40.     From the main menu the following options are available:
  41.  
  42.  LABELS
  43.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  44.  
  45.     As the name implies, this option enables you to print one or more
  46. standard (15/16" x 3-1/2") labels. The sub-menu gives you the following
  47. choices:
  48.  
  49.  New Label
  50.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  51.  
  52.     This clears the work area and allows you to enter the required label
  53. information. There are five lines and you may move around freely to type in
  54. the required information. The first two may be used as you wish, but the
  55. last three must contain specific information.
  56.  
  57.     The USPS has definite addressing standards and POSTAL BARCODER follows
  58. their conventions, including a preference for ALL uppercase characters, so
  59. the program gives you no other choice. Although they are accepted, the Post
  60. Office prefers that commas and periods be omitted.
  61.  
  62.   TITLE:  Also referred to as ATTN line. It is normally used when you have
  63. a four line address and is usually the person within a company who is to
  64. receive the mail. For a three line address, leave this blank.
  65.  
  66.   NAME:  This can be either the company name in a four line address, or the
  67. person's name in a three line address.
  68.  
  69.   ADDRESS:  This line will contain the street address, PO box number, rural
  70. route address, etc.
  71.  
  72.   CITY/STATE/ZIP:  This line is self-explanatory and should be entered
  73. without punctuation. You will receive an error message if there is no ZIP
  74. code, or if you type an incorrect number of characters. With ZIP+4 be sure
  75. to include a hyphen after the fifth digit.
  76.  
  77.   DELIVERY POINT:  To print a label with the full Delivery Point Bar Code
  78. you must determine the required two digit number and enter it here. To do
  79. this, refer to the "Rules for DPBC Derivation and Address Anomalies." These
  80. are in a separate text file, readable from the LS 128 menu.
  81.  
  82.     If you notice a typo at this point, cursor to it and overwrite the
  83. incorrect information. When everything is correct, press [ESC] to exit.
  84.  
  85.     Typical labels might look like this:
  86.  
  87.   TITLE:  FENDER TUCKER
  88.    NAME:  LOADSTAR
  89. ADDRESS:  606 COMMON ST
  90.   C/S/Z:  SHREVEPORT LA 71101-3432
  91.      DP:  06
  92.  
  93.   TITLE:
  94.    NAME:  BOB MARKLAND
  95. ADDRESS:  PO BOX 1535
  96.   C/S/Z:  GILLETTE WY 82717-1535
  97.      DP:  35
  98.  
  99.  
  100.  Edit Label
  101.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  102.  
  103.    If you discover an error after you have exited the edit box, use this
  104. option to go back and make the necessary corrections.
  105.  
  106.  Load List
  107.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  108.  
  109.    The program can read an address list then print a series of labels. To
  110. use this option you must first create your list with any word processor
  111. capable of saving a sequential (SEQ) file with PETASCII characters. I have
  112. tested EDSTAR II, published on various issues of LOADSTAR for the C-64, and
  113. The Write Stuff. Both work equally well.
  114.  
  115.    In order for POSTAL BAR CODER to properly process list information each
  116. address entry must contain exactly six lines and begin and end as follows:
  117.  
  118.  >>>>>
  119.  TITLE or <
  120.  NAME
  121.  ADDRESS
  122.  CITY STATE ZIP
  123.  DELIVERY POINT or <
  124.  (Blank Line)
  125.  TITLE or <
  126.  NAME
  127.  ADDRESS
  128.  CITY STATE ZIP
  129.  DELIVERY POINT
  130.  (Blank Line)
  131.  <<<<<
  132.  
  133. DO NOT USE COMMAS ANYWHERE! The Post Office doesn't like them and they
  134. interfere with reading the file.
  135.  
  136. The >>>>>, used once at the beginning, marks the start of your list.
  137.  
  138. Any address which does not use the TITLE line must be marked with a <
  139. symbol.
  140.  
  141. To facilitate printing of a complete list, foreign addresses and addresses
  142. with no ZIP code may be included. At print time a label will be printed
  143. WITHOUT a bar code. If the ZIP code lacks the +4 digits, the short bar code
  144. will be printed.
  145.  
  146. If you don't have a ZIP+4 code to work with or for foreign mail mark the
  147. DELIVERY POINT line with the < symbol.
  148.  
  149. Following the last address, mark the end of the list with five less than
  150. signs (<<<<<).
  151.  
  152. When you have finished, save the list on another disk as a PETASCII
  153. SEQuential file. Use the prefix LST., followed by any name you choose.
  154.  
  155.     The Load List option will check the directory for LST. prefixed files
  156. and allow you to make your choice from a menu. Once the list is in memory
  157. you will return to the sub-menu.
  158.  
  159.  Print Label
  160.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  161.  
  162.     Use this option to print an individual label or a series of labels you
  163. have read from a list. Make certain that your printer is loaded with labels
  164. and that they are properly aligned before you invoke this function.
  165.  
  166.  FT's NOTE: Labels are more expensive than paper, especially used paper. I
  167. recommend always printing to a piece of scratch paper to get the alignment
  168. just right before printing to a sheet of labels. With a little bit of trial
  169. and error, you can get to know your printer (and the program) so that you
  170. waste very few labels to improper alignment.
  171.  
  172.     When printing from a list you may press [ESC] to abort printing.
  173. However, data may have already been sent to your printer so it may not stop
  174. immediately. To make your printer stop immediately, take it off line or
  175. turn it off.
  176.  
  177.  Main Menu
  178.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  179.  
  180.     Use this option to return to the Main Menu.
  181.  
  182.  
  183.  ENVELOPES
  184.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  185.  
  186.     You may print addresses directly on envelopes, including your return
  187. address. From the ENVELOPES sub-menu you have the following options, which
  188. make reference to the corresponding LABEL options and function in an
  189. identical manner:
  190.  
  191.  New Addressee
  192.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  193.  
  194.     Refer to "New Label" above.
  195.  
  196.  Edit Addressee
  197.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  198.  
  199.     Refer to "Edit Label" above.
  200.  
  201.  Return Address
  202.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  203.  
  204.     Select this option to enter the information for your return address. It
  205. functions just like the other edit boxes. However, you need not be
  206. concerned with the Delivery Point.
  207.  
  208.  Load List
  209.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  210.  
  211.     Refer to "Load List" above.
  212.  
  213.  Print Envelope
  214.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  215.  
  216.     Refer to "Print Label" above. Make certain you have an envelope
  217. properly positioned in your printer before invoking this function. When
  218. printing from a list the program waits after each envelope, and you may
  219. abort by pressing [ESC].
  220.  
  221.  Main Menu
  222.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  223.  
  224.     Use this option to return to the Main Menu.
  225.  
  226.  
  227.  HOUSEKEEPING
  228.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  229.  
  230.     This sub-menu allows you to adjust the print position on labels and
  231. envelopes, and customize the printer driver in the event your printer does
  232. not accept standard Epson codes.
  233.  
  234.  Printer Spacing
  235.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  236.  
  237.     Label Left Margin:  This applies only to labels. Increase the number to
  238. move printing to the right on your label, or decrease it to move left. In
  239. rare cases you may have to move the tractors on your printer.
  240.  
  241.     Addressee Offset:  This applies only to envelopes and sets the left
  242. margin for the bar code and addressee lines. The present setting is for #10
  243. business envelopes.
  244.  
  245.     Addressee Vertical Space:  This determines how far below the return
  246. address the bar code and addressee lines are printed. The present setting
  247. for #10 business envelopes is 6 lines.
  248.  
  249.  Printer Driver
  250.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  251.  
  252.     These numbers determine what codes will be sent to your
  253. printer/interface in order for it to perform the prescribed actions.
  254.  
  255.     Transparent-With Line Feed: Most interfaces use 4. Consult your
  256. interface manual if the program does not print properly.
  257.  
  258.     Upper/Lower Case-With Line Feed: Most interfaces use 7. Consult your
  259. interface manual if the program does not print properly.
  260.  
  261.     Double Density Graphics:  This command tells your printer to expect
  262. graphics bytes rather than ASCII text. Epson and many other printers use 27
  263. 76. If you have problems, consult your printer manual. Make certain that
  264. you include a space between numbers, and if your manual lists something
  265. like 27 76 n n, ignore the n n, as this information is sent to the printer
  266. at print time.
  267.  
  268.     To restore the original default values, scratch the file PD.PBC from
  269. the disk and run POSTAL BAR CODER again.
  270.  
  271.  Main Menu
  272.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  273.  
  274.     Use this option to return to the Main Menu.
  275.  
  276.  
  277.  QUIT
  278.  {SHIFT-*}{SHIFT-*}{SHIFT-*}{SHIFT-*}
  279.  
  280.     Select this option from the Main Menu to exit the program. You will be
  281. asked to confirm this choice, and the program will return to LOADSTAR 128
  282. if a LOADSTAR 128 disk is found in the drive you booted POSTAL BARCODER
  283. from. Otherwise the program exits to BASIC.
  284.  
  285.     While you are learning to use POSTAL BAR CODER and making any necessary
  286. adjustments to the printer driver you should practice on scrap paper.
  287. However, once you have the program up and running printing labels and
  288. envelopes is quick and easy.
  289.  
  290.  
  291.  FENDER'S POSTMUMBLE: I did a bar code program on LOADSTAR 64 several years
  292. ago and it generated a lot of feedback and interest. Some people did bench
  293. tests and found that a letter with a correct bar code arrived a day or two
  294. earlier than an uncoded letter mailed at the same time to the same place. I
  295. had many requests to "add more" to the program but I never did. I didn't
  296. understand much about printing graphics at the time and was a little
  297. embarrassed by the fudging I had to do to get the bar code to fit the
  298. standards of the Post Office.
  299.  
  300.  Luckily, Bob Markland knows a lot more about graphic printing than I do
  301. and agreed to do a 128 version of a bar code program. I'm glad he kept it
  302. simple, but at the same time allowed for you to keep a database of often-
  303. used addresses.
  304.  
  305.  He also found that the rules for ZIP codes had changed since I wrote my
  306. program. All I had to worry about were 5- and 9-digit codes. Now there's
  307. the "delivery point" code to consider. Be sure to print out the "Rules and
  308. Anomalies" file from the LS 128 Presenter. Keep this three-page file on
  309. hand and you'll have no trouble entering the DP code for any addresses.
  310.  
  311.  Bob would have been able to make the program figure out MOST of the DP
  312. codes for you, but I asked him to write the "Rules and Anomalies" file and
  313. leave the DP code up to the user. Since a wrong code can cause a letter to
  314. go to the wrong address, I figured it was best to leave it up to each user.
  315. Remember, you can always call the Post Office for assistance with
  316. determining the DP code.
  317.  
  318.                   \\\\\ R - Run  RETURN - Menu \\\\\
  319.                                                                            
  320.